@import './variable.scss';
@import './base.scss';
@import './maxin.scss';
header{
    @include center();
    box-sizing: border-box;
    position: sticky;
    z-index: 10;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    .dl{
        font-size: 12px;
        color: #3b3b3b;
        visibility: hidden;
        float: left;
        padding: 10px;
        padding-bottom: 0;
        border: none;
        button{
            background-color: #fff;
            border: 1px solid #dadada;
            padding: 2px;
            cursor: pointer;
        }
    }
    .ss{
        position: relative;
        ol{
            position: absolute;
            right: 30px;
            top: 44px;
            z-index: 9;
            width: 260px;
            height: 180px;
            border: 1px solid #333;
            border-top: none;
            background-color: #fff;
            box-sizing: border-box;
            padding: 10px 20px 20px;
            display: none;
            li{
                height: 14px;
                line-height: 14px;
                font-size: 12px;
                color: #3b3b3b;
                cursor: pointer;
                @include flex();
                &:hover{
                    background-color: #ccc;
                    color: #fff;
                }
            }
        }
    }
    ul{
        float: right;
        padding-top: 15px;
        li{
            float: right;
            padding: 0 10px;
            font-size: 12px;
            color: #1b1b1b;
            border-right: 1px dashed gray;
        }
    }
div{
    float: right;
    border-bottom: 1px solid gray;
    p{
    font-size: 14px;
    line-height: 40px;
    float: left;
    font-weight: 700;
    cursor: pointer;
    margin-left: 10px;
    color: grey;
    }
    input{
        float: right;
        @include input();
        height: 25px;
        width: 250px;
        padding: 5px 0 5px 10px;
        font-size: 12px;
        color: gray;
        background-color: rgba(255, 255, 255, 0.8);
    }
}
    }
nav{
    @include center();
    @include flex(space-between,center);
    margin-top: 5px;
    // background-color: yellowgreen;
    height: 51px;
    box-sizing: border-box;
    ul{
        height: 51px;
        line-height: 51px;
        font-size: 14px;
        font-weight: 700px;
        li{
            float: left;
            padding: 0 10px;
            font-weight: 700;
            background-image: url(../img/black-deshed.jpg);
            background-position:right center;
            background-repeat: no-repeat;
            background-size: 1px 15px;
            &:hover{
                color: red;
            }
        }
        .li_bg{
            background-image: none;
            padding: 0;
        }
    }
    ol{
        height: 51px;
        line-height: 51px;
        font-size: 14px;
        font-weight: 700px;
        li{
            float: left;
            padding: 0 25px;
            background-color: gray;
            font-weight: 700;
            color: white;
            background-image: url(../img/w-deshed.jpg);
            background-position:right center;
            background-repeat: no-repeat;
            background-size: 1px 15px;
            &:hover{
                color: red;
            }
        }
        .ol_end2{
            background-color: #666;
        }
        .ol_end{
            background-image: none;
        }
    }
}
section{
    @include center();
    height: 100%;
    margin-top: 50px;
    position: relative;
    .person{
        @include flex();
        margin-top: 50px;
        li{
            line-height: 78px;
            flex:1;
            @include li();
            border-top: 1px solid #dbdbdb;
            border-bottom: 1px solid #dbdbdb;
            background-color: #f4f4f4;
            font-size: 20px;
            color: #ABABAB;
            text-align: center;
            font-weight:900;
            &:nth-child(2){
                background-color: #fff;
                text-decoration: underline skyblue;
                border-bottom: none;
            }
            &:hover{
                background-color: #fff;
                text-decoration: underline skyblue;
            }
        }
    }
    .series{
        @include flex();
        height: 64px;
        text-align: center;
        font-size: 17px;
        margin-top: 50px;
        li{
        @include li();
        flex: 1;
        line-height: 64px;
        }
    }
    .xpss{
        height: 40px;
        margin-top: 50px;
        font-size: 26px;
        font-weight:700;
        line-height: 40px;
    }
    .product{
        margin-top: 50px;
        width: 100%;
        .clothes{
            height: 440px;
            border: 1px solid #dadada;
            margin: 20px;
            float: left;
            padding: 10px;
            width: 230px;
            position: relative;
            .attribute{
                height: 20px;
                p{
                    line-height: 20px;
                    font-size: 14px;
                    color: #fff;
                    text-align: center;
                    font-weight: 700;
                    float: right;
                    margin: 10px;
                    margin-top: 0;
                    padding: 0 4px;
                }
                .sale{
                    background-color: #ff0000;
                    visibility: hidden;
                }
                .hot{
                    background-color: gold;
                    visibility: hidden;
                }
                .active{
                    visibility: visible;
                }
            }
            img{
                width: 100%;
            }
            .colors{
                margin: 4px 0;
                height: 20px;
                img{
                    float: left;
                    width: 18px;
                    margin: 2px 4px 0 0;
                }
            }
            .clothes_size{
                display: flex;
                justify-content: space-between;
                font-size: 12px;
                line-height: 26px;
                margin-bottom: 5px;
            }
            .clothes_name{
                font-size: 12px;
                line-height: 26px;
                margin-bottom: 5px;
            }
            .clothes_price{
                line-height: 20px;
                font-weight: 700;
                color: #ff0000;
                @include flex(space-between,center);
                .og_price{
                    font-size: 12px;
                    color: #ABABAB;
                    text-decoration: line-through;
                    font-weight: 400;
                }
            }
            button{
                width: 200px;
                height: 30px;
                position: absolute;
                bottom: 15px;
                left: 25px;
            }
        }
    }
    .bottem{
        margin-bottom: 50px;
    }
    .top{
        width: 50px;
        height: 50px;
        font-size: 12px;
        font-weight: 700;
        line-height: 16px;
        position: fixed;
        right: 100px;
        bottom: 100px;
        border: 1px solid #dbdbdb;
        text-align: center;
        box-sizing: border-box;
        padding: 10px;
        background-color: #fff;
    }
}
footer{
    @include center();
    height:100%;
    ul{
        width: 100%;
        height: 50px;
        font-size: 12px;
        padding-top: 50px;
        li{
        text-align: center;
        float: left;
        width: 306px;
        line-height: 50px;
        background-color:#000;
        background-image: url(../img/w-deshed.jpg);
        background-position:right center;
        background-repeat: no-repeat;
        background-size: 1px 15px;
        a{
            color: white;
            &:hover{
                color: red;
            }
        }
        }
        .logo_uniqlo{
            width: 50px;
            height: 50px;
        }
    }
    p{
        padding-top: 80px;
        color: #989a98;
        font-size: 12px;
    }
}